#!python
#
# Pyste file for osg::VecNT (for various values of N and T).

import Settings
Vec = Template('osg::VectorInterface', 'OpenSG/OSGVector.h')


for size in Settings.Vec_sizes:
   for type, alias in Settings.Vec_types.iteritems():
      Include('Wrappers.h')
      c = Vec('%s osg::VecStorage%d<%s>' % (type, size, type))
      rename(c, 'Vec%d%s' % (size, alias))
      exclude(c.Null)
      set_policy(c.subZero, return_internal_reference(1))
      set_policy(c.addToZero, return_internal_reference(1))
